﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Jui.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    瀚华小额贷款管理系统 - 用户列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%Html.RenderPartial("~/Views/Shared/Menu.ascx", 3); %>
    <div class="nav_r_right floatleft">
        <div class="con_r">
            <div class="con_r_meu">
                <div style="float:left;">
                <select class="inputText" name="typ" id="typ" disabled>
                    <option value="0">全部</option>
                    <option value="2" selected>客服</option>
                    <option value="11">客户</option>
                </select><input type="button" onclick="loadList(0)" value="查询" />
                </div>
            </div>
            <!--加载列表-->
            <div id="listDt_Users">
            </div>
        </div>
        <div id="detailContent" class="con_r">
        </div>
    </div>
    </div> </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script language="javascript" type="text/javascript">
        $(function () {
            //$("#nlt2").hide();
            loadList(0);
        });

        function loadList(i) {
            var htmlname = "listDt_Users";
            $("#" + htmlname).load(
            "/Account/GetListUsers",
            {
                typ: $("#typ").val(),
                pageindex: pIndex,
                pagesize: pSize
            },
            function () {
                $("table.table", $("#" + htmlname)).jTable();
            });

        }

    </script>
    <script type="text/javascript" src="/Scripts/jquery.autocomplete.min.js"></script>
    <script type="text/javascript" src="/Scripts/pager.js"></script>
</asp:Content>
